package com.rightin.reader.hf;

/* loaded from: hf_reader.jar:com/rightin/reader/hf/ToUnsigned.class */
public class ToUnsigned {
    public static int toUnsigned(short s) {
        return s & 65535;
    }

    public static int toUnsingned2(byte b) {
        return b & 255;
    }
}
